home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODF-Interest Archive / May 96 / Re Changing Color Lookup Tab.4 < prev    next >
Encoding:
Internet Message Format  |  1996-12-03  |  1.5 KB  |  [TEXT/ttxt]

  1. Subject:     Re: Changing Color Lookup Table in ODF
  2. Sent:        5/28/96 11:21 AM
  3. Received:    5/28/96 11:55 AM
  4. From:        Mark Lanett, mlanett@meer.net
  5. Reply-To:    ODF Interest, ODF-Interest@CILabs.ORG
  6. To:          OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
  7.  
  8. >At 10:30 PM 5/24/96, Serge Froment wrote:
  9. >>This is a major problem. I want my colors to show up even when I am
  10. >>embedded!
  11.  
  12. There are lots of answers to this problem.
  13.  
  14. First, you may know that the default Macintosh 8-bit color table contains a
  15. uniform 6x6x6 color cube (very common, also known as the Pantone 216 color
  16. table). If you choose colors whose components are from the set { 0x00,
  17. 0x33, 0x66, 0x99, 0xCC, 0xFF } then you will map directly into that cube.
  18. You can easily choose similar-but-not-the-same colors by varying only one
  19. component.
  20.  
  21. Secondly, as all devoted readers of Edward Tufte know, color hue is not a
  22. good way to differentiate information. If you really depend on hue in your
  23. interface then you need to redesign it. Color value is much better, and
  24. fortunately, all you have to do is switch your monitor into grayscale mode
  25. to see how everything looks using only color value.
  26.  
  27. >   If you are copying pixmaps, you're probably limited to using ditherCopy
  28. >mode (which doesn't appear at first glance to be supported in ODF, probably
  29. >because Windows doesn't support it), which will approximate the colors by
  30.  
  31. All platform-specific modes can be used. ODF only defines constants for the
  32. ones that work cross-platform; you can pass the platform values as well.
  33.  
  34.  
  35. Mark Lanett, ODF
  36.  
  37.